package lzk.myshop.service.impl;

import lzk.myshop.dao.Adminmapper;
import lzk.myshop.dao.OrderMapper;
import lzk.myshop.pojo.Admin;
import lzk.myshop.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    Adminmapper adminmapper;
    @Autowired
    OrderMapper orderMapper;

    public Admin findbyid(int id){
        return adminmapper.findbyid(id);
    }

}
